package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商联系人对象 supplier_contact
 *
 * @author ruoyi
 * @date 2021-08-31
 */
public class SupplierContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String contactName;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 称谓 */
    @Excel(name = "称谓")
    private String appellation;

    /** 职务 */
    @Excel(name = "职务")
    private String duty;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officeNumber;

    /** 手机 */
    @Excel(name = "手机")
    private String telephone;

    /** email */
    @Excel(name = "email")
    private String email;

    /** 采购负责人 */
    @Excel(name = "采购负责人")
    private String follower;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setContactName(String contactName)
    {
        this.contactName = contactName;
    }

    public String getContactName()
    {
        return contactName;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setAppellation(String appellation)
    {
        this.appellation = appellation;
    }

    public String getAppellation()
    {
        return appellation;
    }
    public void setDuty(String duty)
    {
        this.duty = duty;
    }

    public String getDuty()
    {
        return duty;
    }
    public void setOfficeNumber(String officeNumber)
    {
        this.officeNumber = officeNumber;
    }

    public String getOfficeNumber()
    {
        return officeNumber;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setFollower(String follower)
    {
        this.follower = follower;
    }

    public String getFollower()
    {
        return follower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("contactName", getContactName())
                .append("supplierName", getSupplierName())
                .append("appellation", getAppellation())
                .append("duty", getDuty())
                .append("officeNumber", getOfficeNumber())
                .append("telephone", getTelephone())
                .append("email", getEmail())
                .append("follower", getFollower())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}